import moment from 'moment'
export const dateFormat = (date, format = 'YYYY-MM-DD HH:mm:ss') => {
  return moment(date).format(format)
}